import { createRouter, createWebHashHistory } from 'vue-router'
//@表示src文件
import Home from '@/components/home/Home'
import Local from '@/components/local/Local'
import Free from '@/components/free/Free'

const routes = [
	{
		path: '/',
		name: 'Home',
		component: Home
	},
	{
		path : '/Local',
		name : 'Local',
		component :  Local,
	},
	{
		path : '/Free',
		name : 'Free',
		component :  Free,
	}
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
